package org.alternativedev.wo42.gui.menu.menuoptions;

import org.alternativedev.wo42.Game;
import org.alternativedev.wo42.enums.GameState;
import org.alternativedev.wo42.gui.menu.MenuOption;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;

public class MenuOptionStart extends MenuOption {

	
	public MenuOptionStart(GameContainer container) throws SlickException {
		super(container, new Image("data/menu/buttons/start_1.png"), new Image("data/menu/buttons/start_2.png"));
	}

	@Override
	public void onClick(Game game, GameContainer gContainer){
		game.setGameState(GameState.INGAME);
	}
}
